<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:template match="/">
                <html>
                        <head>
                                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                                <title><xsl:value-of select="Packages/@title" /></title>
                                <link rel="stylesheet" type="text/css" href="default.css" media="screen" />
                        </head>
                        <body>
                                <h1><xsl:value-of select="Packages/@title" /></h1>
                                <p>Updated: <xsl:value-of select="Packages/@updated" /></p>
                                <table>
                                        <tr>
                                                <xsl:if test="Packages/Package/Name"><th>Name</th></xsl:if>
                                                <xsl:if test="Packages/Package/Stable"><th>Stable</th></xsl:if>
                                                <xsl:if test="Packages/Package/Unstable"><th>Unstable</th></xsl:if>
                                                <xsl:if test="Packages/Package/Testing"><th>Testing</th></xsl:if>
                                                <xsl:if test="Packages/Package/Experimental"><th>Experimental</th></xsl:if>
                                        </tr>
                                        <xsl:for-each select="Packages/Package">
                                                <tr>
                                                        <xsl:if test="Name"><td><xsl:value-of select="Name" /></td></xsl:if>
                                                        <xsl:if test="Stable"><td><xsl:value-of select="Stable" /></td></xsl:if>
                                                        <xsl:if test="Unstable"><td><xsl:value-of select="Unstable" /></td></xsl:if>
                                                        <xsl:if test="Testing"><td><xsl:value-of select="Testing" /></td></xsl:if>
                                                        <xsl:if test="Experimental"><td><xsl:value-of select="Experimental" /></td></xsl:if>
                                                </tr>
                                        </xsl:for-each>
                                </table>
                                
                        </body>
                </html>
        </xsl:template>
</xsl:stylesheet>